﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PrecompiledMvcViewEngineContrib;

namespace MvcApplication1.Controllers
{
    
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        [CompiledView]
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult About()
        {
            
            return View();
        }

        public ActionResult NotFound()
        {

            return HttpNotFound();
        }

        [CompiledView(FromAssembly = "ClassLibrary1")]
        public ActionResult PluginView()
        {
            
            return View("~/MyView.cshtml");
        }
    }
}
